package com.jic.data.model.entity;

import com.jic.common.base.vo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@ApiModel(description = " sale_detail_data ")
public class SaleDetailData {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(notes = "")
    private Long id;

    @ApiModelProperty(notes = "销售日期")
    private Date saleDate;

    @ApiModelProperty(notes = "销售额")
    private BigDecimal saleTotalAmount;

    @ApiModelProperty(notes = "订单数")
    private Integer totalOrderQuantity;

    @ApiModelProperty(notes = "商品数量")
    private Integer totalProductQuantity;

    @ApiModelProperty(notes = "折扣率")
    private Float discountRate;

    @ApiModelProperty(notes = "客单件")
    private BigDecimal customersUnitPrice;

    @ApiModelProperty(notes = "件单价")
    private BigDecimal unitPrice;

    @ApiModelProperty(notes = "笔件数")
    private Integer orderUnitNumber;

    @ApiModelProperty(notes = "笔单价")
    private Integer orderUnitPrice;

    @ApiModelProperty(notes = "平台名称")
    private String platformName;

    @ApiModelProperty(notes = "平台code")
    private String platformCode;

    @ApiModelProperty(notes = "通道code")
    private String chnennelCode;

    @ApiModelProperty(notes = "店铺名称")
    private String storeName;

    @ApiModelProperty(notes = "店铺code")
    private String storeCode;

    @ApiModelProperty(notes = "商家名称")
    private String merchantName;

    @ApiModelProperty(notes = "商家编码")
    private String merchantNumber;

}
